Method for measuring a seam on aircraft skin based on large-scale point cloud

ABSTRACT

A method for measuring a seam on aircraft skin based on a large-scale point cloud is disclosed. A point cloud density of each point in an aircraft skin point cloud is calculated. Seam and non-seam point clouds are divided according to a discrepancy of the calculated point cloud density. A point is selected from the point cloud of the seam area, and a section at the point is extracted. A certain range of the seam and non-seam point clouds is projected to the section and a projected point cloud is acquired. A calculation model of flush and gap is constructed, and the flush and the gap of the aircraft skin seam at the measuring point is calculated according to the projected point cloud and the calculation model.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application claims the benefit of priority from Chinese Patent Application No. 202011102350.0, filed on Oct. 15, 2020. The content of the aforementioned application, including any intervening amendments thereto, is incorporated herein by reference in its entirety.

TECHNICAL FIELD

This application relates to flush measurements of aircraft skin, and more particularly to a method for measuring a seam on aircraft skin based on a large-scale point cloud.

BACKGROUND

With the rapid development of aerospace industry, many breakthroughs have been made in aircraft research and manufacturing. As one of the key components of the aircraft, the skin is riveted to the internal skeleton of the aircraft through rivets. The assembly quality of the skin affects the reliability of the aerodynamic shape of the aircraft. The gap width and flush of the seam at the joint of the aircraft skin are one of the important indicators for evaluating the assembly quality of the skin.

Conventionally, the skin seam measurement is carried out using a feeler gauge. This method has high requirements in manual operations, and has large errors, low efficiency and low repeatability. In recent years, 3D laser scanning measurement technology has been developed and unproved, and has been used as the mainstream measurement technology in various fields due to its fast speed, high accuracy, and strong adaptability.

SUMMARY

To overcome the above-mentioned defects in the prior art, the present disclosure provides a method for measuring a seam on aircraft skin based on a large-scale point cloud. A three-dimensional laser scanning technology is used for a flush measurement of an aircraft skin seam, so to improve the efficiency and accuracy of the flush measurement of the seam.

The technical solutions of the present disclosure are described as follows.

A method for measuring a seam on aircraft skin based on a large-scale point cloud, comprising

1) calculating a point cloud density of each point in an aircraft skin point cloud;

2) dividing seam and non-seam point clouds according to a discrepancy of the calculated point cloud density;

3) selecting a measuring point from the point cloud of the seam area; extracting a section at the point; projecting a certain range of the seam and non-seam point clouds to the section; acquiring a projected point cloud; and

4) constructing a calculation model of flush and gap; and calculating the flush and the gap of the aircraft skin seam at the selected measuring point according to the projected point cloud and the calculation model.

In some embodiments, the step (1) comprises:

11) based on the aircraft skin point cloud P, constructing an Axis-Aligned Bounding Box (AABB) of the point cloud; estimating an average area of a point; and calculating a side length of a kernel; and

12) selecting any point p_(i) from the point cloud; constructing a bounding sphere O_(i) using the kernel as a radius; counting the number of points in the bounding sphere and taking the number of points in the bounding sphere as a density d_(i) around the point p_(i).

In some embodiments, the step (11) comprises:

calculating a volume of the AABB of the point cloud; calculating a side length of a cube corresponding to the volume of the AABB; calculating an area of a bottom surface according to the side length; and calculating an average area occupied by each point on the bottom surface according to the area of the bottom surface; constructing the kernel with k points; and calculating the side length of the kernel:

$\begin{matrix} {{{kernel} = \sqrt{\frac{\left( \sqrt[3]{V} \right)^{2}}{N} \times k}},} & (1) \end{matrix}$

wherein V is a volume of the AABB of the aircraft skin point cloud P; N is the number of points in the aircraft skin point cloud P; and k is a constant representing the number of points constituting the kernel.

In some embodiments, the step (2) comprises:

21) based on the calculated point cloud density, standardizing the point cloud density to [0,1]; and

22) taking 0 and 1 as two initial centers respectively, dividing a point cloud P^(S) of a seam area and a point cloud P^(NS) of a non-seam area based on the standardized point cloud density using a k-means clustering algorithm.

In some embodiments, in step (21), based on the calculated point cloud density, the point cloud density is standardized to [0, 1]:

$\begin{matrix} {{d_{i}^{\prime} = \frac{d_{i}}{d_{\max} - d_{\min}}},} & (2) \end{matrix}$

wherein d_(max) is a maximum density of a point in the point cloud P, and d_(min) is a minimum density of a point in the point cloud P.

In some embodiments, the step (3) comprises:

31) selecting a point p from the point cloud P^(S) of the seam area; constructing a bounding sphere with the point p as a center and R as a radius; in the bounding sphere, taking a point cloud P_(R) ^(S) of the seam area and a point cloud P_(R) ^(NS) of the non-seam area in the bounding sphere together to constitute a R-neighborhood point cloud of the point p; dividing the point cloud P_(R) ^(S) in the R-neighborhood seam area and the point cloud P_(R) ^(NS) in the R-neighborhood non-seam area into two pails respectively by Euclidean clustering, so as to obtain P_(lR) ^(S), P_(oR) ^(S), P_(lR) ^(NS), P_(oR) ^(NS);

32) calculating normal vectors of each point in the point cloud P_(R) ^(NS) of the R-neighborhood non-seam area at the same side of the point p, so as to form a normal vector set {right arrow over (N)}; taking an average of the normal vectors in the point cloud of the R-neighborhood non-seam area at the side of the point as a normal vector of a local surface at the side of the point p:

$\begin{matrix} {{{\overset{\rightarrow}{n}}_{S} = {\frac{1}{\overset{\rightarrow}{N}}\Sigma_{{\overset{\rightarrow}{n}}_{i} \in \overset{\rightarrow}{N}}{\overset{\rightarrow}{n}}_{i}}};} & (3) \end{matrix}$

33) searching a point p_(j) in the point cloud P_(lR) ^(S) of the R-neighboring seam area at the same side of the point p that is closest to each point q_(j) in the point cloud P_(oR) ^(S) of the R-neighboring seam area at the opposite side of the point p; constructing a direction vector {right arrow over (τ)}_(j)=q_(j)−p_(j)({right arrow over (τ)}_(j)∈{right arrow over (T)}) according to each pair of the points; performing Gaussian clustering on all direction vectors {right arrow over (T)}; and taking an average

$\overset{\rightarrow}{\tau} = {\frac{1}{\overset{\rightarrow}{C}}\Sigma_{{\overset{\rightarrow}{\tau}}_{k} \in \overset{\rightarrow}{C}}{\overset{\rightarrow}{\tau}}_{k}}$

of direction vectors in a largest cluster {right arrow over (C)} in a Gaussian clustering result as a direction vector that is perpendicular to a local seam direction at the point;

34) based on the normal vector ifs of the local surface at the point p and the direction vector {right arrow over (τ)}_(k), determining a normal vector of a section r at the point p using a right-hand rule:

{right arrow over (n)} _(c) ={right arrow over (n)} _(S)−{right arrow over (τ)}_(k)  (4); and

35) projecting the points of the seam area and the non-seam area which are within a certain range from the section Γ on the section, and extracting projected points Q^(S) of the seam area and projected points Q^(NS) of the non-seam area, respectively:

q′=p+{right arrow over (pq)}×{right arrow over (n)} _(c)  (5),

wherein q is a point to be projected, and q′ is a point where the q is projected onto the section Γ.

In some embodiments, the step (4) comprises:

41) dividing the projected points Q^(S) of the seam area and the projected points Q^(NS) of the non-seam area respectively through Euclidean clustering, so as to obtain projected points Q_(l) ^(S), Q_(o) ^(S), Q_(l) ^(NS), Q_(o) ^(NS) of both sides;

42) based on the projected points Q_(l) ^(NS) (Q_(o) ^(NS)) of a side of the non-seam area, fitting a straight line L_(l)(L_(o)) using a random sample consensus (RANSAC) straight line fitting algorithm; and based on the projected points Q_(l) ^(S)(Q_(o) ^(S)) of a side of in the seam area, fitting a circle C_(l)(C_(o)) using a RANSAC circle fitting algorithm;

43) calculating intersections of the fitting straight line L_(l)(L_(o)) and the fitting circle C_(l)(C_(o)); and taking a point in inliers of the fitting circle that is farthest from the critical point p^(c) as a boundary point p^(b)=argmax d(c_(i)) wherein d(c_(i))=|c_(i)−p^(c)|, c_(i)∈C_(l)(C_(o));

44) according to the boundary point p_(l) ^(b)(p_(o) ^(b)) and the fitting straight line L_(l)(L_(o)) at a same side, constructing an auxiliary line L_(A) _(l) (L_(A) _(o) ) that is perpendicular to the fitting straight line L_(l)(L_(o)) at the same side; wherein a direction vector of the auxiliary line is:

{right arrow over (τ)}_(A) _(l/o) ={right arrow over (n)} _(s)×{right arrow over (τ)}_(l/o)  (6),

wherein {right arrow over (n)}_(s) is a normal vector of the section and {right arrow over (τ)}_(l/o) is a direction vector of the fitting straight line L_(l)(L_(o)) at the same side; and

45) taking a distance from a critical point p_(l) ^(c)(p_(o) ^(c)) at a side to a fitting straight line L_(o)(L_(l)) at an opposite side as a flush; taking a distance from the boundary point p_(l) ^(b)(p_(o) ^(b)) at a side to an auxiliary line L_(A) _(o) (L_(A) _(l) ) at an opposite side as a single-side gap width:

$\begin{matrix} {{{flush}_{A} = {{\overset{\rightarrow}{p_{l}^{l}p_{o}^{c}} \times {\overset{\rightarrow}{\tau}}_{l}}}};} & (7) \\ {{{flush}_{B} = {{\overset{\rightarrow}{p_{o}^{l}p_{l}^{c}} \times {\overset{\rightarrow}{\tau}}_{o}}}};} & (8) \\ {{{gap}_{A} = {{\overset{\rightarrow}{p_{l}^{b}p_{o}^{b}} \times {\overset{\rightarrow}{\tau}}_{A_{l}}}}};} & (9) \\ {{{gap}_{B} = {{\overset{\rightarrow}{p_{o}^{b}p_{l}^{b}} \times {\overset{\rightarrow}{\tau}}_{A_{o}}}}};} & (10) \end{matrix}$

taking an average of the flushes at both sides as the flush of the seam at the point; and taking an average of the gap width at both sides as the seam width at the point:

$\begin{matrix} {{{flush} = \frac{{flush}_{A} + {flush}_{B}}{2}};} & (11) \\ {{gap} = {\frac{{gap}_{A} + {gap}_{B}}{2}.}} & (12) \end{matrix}$

In some embodiments, the calculating the intersections of the fitting straight line L_(l)(L_(o)) and the fitting circle C_(l)(C_(o)) as a critical point in step (4) comprises:

if there are two intersections I₁, I₂, taking the intersection closest to a point in the fitting circle as the critical point p^(c)=argmin{d₁(c_(i)),d₂(c_(i))}, wherein d₁(i)=|c_(i)−I₁|, d₁(i)=|c_(i)−I₂|, c_(i)∈C_(l)(C_(o));

if there is only an intersection I, taking the intersection as the critical point p^(c)=I; and

if there is no intersection, taking a point in the fitting circle that is closest to the fitting straight line as the critical point: p^(c)=argmax d_(L)(c_(i)), wherein d_(L)(c_(i))=|{right arrow over (p_(l/o)c_(i))}×{right arrow over (τ)}_(l/o)|, c_(i)∈C_(l)(C_(o)); p_(l/o) and p_(l/o) are defining parameters of the fitting straight line L_(l)(L_(o)) of one side.

The beneficial effects of the present disclosure are described as follows.

This disclosure solves the problem of low degree of automation in measuring a seam on aircraft skin, realizing an automatic measurement of aircraft skin. The method of the present disclosure has high degree of automation, high measurement accuracy, and is easy to carry out.

A mathematical model based on a three-dimensional point cloud data of the aircraft skin seam is constructed to calculate a flush and a gap of the seam, so as to evaluate an assembly quality of the aircraft skin.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a model of an aircraft skin seam in accordance with an embodiment of the present disclosure;

FIG. 2 is a flowchart of an algorithm for calculating a flush and a gap of an aircraft skin based on a point cloud in accordance with an embodiment of the present disclosure;

FIG. 3 is a point cloud of an aircraft skin obtained by means of a three-dimensional scanner in accordance with an embodiment of the present disclosure;

FIG. 4 shows a result of extracting a point cloud of a seam area in accordance with an embodiment of the present disclosure;

FIG. 5 is a sectional projection view in accordance with an embodiment of the present disclosure; and

FIG. 6 is a calculation model of flush and gap based on a point cloud in accordance with an embodiment of the present disclosure.

DETAILED DESCRIPTION OF EMBODIMENTS

The embodiments of the present disclosure will be further described clearly with reference to the accompanying drawings.

In the prior art, the flush and gap of the aircraft skins are hard to be automatically measured. To solve this problem, the present disclosure provides a method for measuring a seam on aircraft skin based on a large-scale point cloud. FIG. 1 is a structure of an aircraft skin model in accordance with the present disclosure. FIG. 2 is a flowchart of an algorithm in accordance with the present disclosure. As shown in FIG. 2, the method includes the following steps.

1) A point cloud density of each point in an aircraft skin point cloud is calculated.

2) Seam and non-seam point clouds are divided according to a discrepancy of the calculated point cloud density.

3) A measuring point is selected from the point cloud of the seam area, and a section at the point is extracted. A certain range of the seam and non-seam point clouds is projected to the section. A projected point cloud is acquired.

4) A calculation model of flush and gap is constructed, and the flush and gap of the aircraft skin seam at the measuring point is calculated according to the projected point cloud and the calculation model.

The technical solutions of the present disclosure can realize an automatic measurement of the aircraft skin. A mathematical model of the aircraft skin seam is established based on a three-dimensional point cloud to calculate the seam flush and gap, so as to evaluate an assembly quality of the aircraft skin. The method of the present disclosure has a high degree of automation and a high measurement accuracy. FIG. 3 is a point cloud of the aircraft skin obtained by means of a three-dimensional scanner. As shown in FIG. 3, the seam area can be clearly distinguished according to a distribution of the point cloud density.

In one embodiment, the step (1) includes following steps.

11) Based on the aircraft skin point cloud P, an Axis-Aligned Bounding Box (AABB) of the point cloud is constructed, so as to estimate an average area of a point and calculate a side length of a kernel:

$\begin{matrix} {{{kernel} = \sqrt{\frac{\left( \sqrt[3]{V} \right)^{2}}{N} \times k}},} & (1) \end{matrix}$

where V is a volume of the AABB of the aircraft skin point cloud P; N is the number of points in the aircraft skin point cloud P; and k is a constant representing the number of points constituting the kernel, usually k=12.

12) A point p_(i) is selected from the point cloud. A bounding sphere O_(i) is constructed using the kernel as a radius. The number of points in the bounding sphere is counted and used as a density d_(i) around the point p_(i).

In one embodiment, the step (2) includes following steps.

21) Based on the calculated point cloud density, the point cloud density is standardized to [0, 1]:

$\begin{matrix} {{d_{i}^{\prime} = \frac{d_{i}}{d_{\max} - d_{\min}}},} & (2) \end{matrix}$

where d_(max) is a maximum density in the point cloud P, and d_(min) is a minimum density in the point cloud P.

22) With 0 and 1 as two initial centers respectively, a point cloud P^(S) of a seam area and a point cloud P^(NS) of a non-seam area are divided based on the standardized point cloud density using a k-means (k=2) clustering algorithm, and a dividing result of the point cloud in the gap area is shown in FIG. 4.

In one embodiment, the step (3) includes:

31) A point p is selected from the point cloud P^(S) of the seam area, and a bounding sphere is constructed with the point p as a center and R as a radius. In the bounding sphere, a point cloud P_(R) ^(S) of the seam area and a point cloud P_(R) ^(NS) of the non-seam area in the bounding sphere together constitute a R-neighborhood point cloud of the point p. The point cloud P_(R) ^(S) in the R-neighborhood seam area and the point cloud p_(R) ^(NS) in the R-neighborhood non-seam area are divided into two parts respectively by Euclidean clustering, so as to obtain P_(lR) ^(S), P_(oR) ^(S), P_(lR) ^(NS), P_(oR) ^(NS).

32) Normal vectors of each point in the point cloud P_(R) ^(NS) of the R-neighborhood non-seam area at a same side of the point p are calculated, so as to form a normal vector set {right arrow over (N)}. An average of the normal vectors in the point cloud of the R-neighborhood non-seam area at the side of the point is calculated to be used as a normal vector of a local surface at the side of the point p:

$\begin{matrix} {{\overset{\rightarrow}{n}}_{S} = {\frac{1}{\overset{\rightarrow}{N}}\Sigma_{{\overset{\rightarrow}{n}}_{i} \in \overset{\rightarrow}{N}}{{\overset{\rightarrow}{n}}_{i}.}}} & (3) \end{matrix}$

33) Each point p_(j) in the point cloud P_(lR) ^(S) of the R-neighboring seam area at the same side of the point p that is closest to each point q_(j) in the point cloud P_(oR) ^(S) of the R-neighboring seam area at the opposite side of the point p is searched. A direction vector is constructed {right arrow over (τ)}_(j)=q_(j)−p_(j)({right arrow over (τ)}_(j)∈{right arrow over (T)}) according to each pair of the points. Gaussian clustering is performed on all direction vectors {right arrow over (T)}, and an average

$\overset{\rightarrow}{\tau} = {\frac{1}{\overset{\rightarrow}{C}}\Sigma_{{\overset{\rightarrow}{\tau}}_{k} \in \overset{\rightarrow}{C}}{\overset{\rightarrow}{\tau}}_{k}}$

of direction vectors in a largest cluster {right arrow over (C)} in a Gaussian clustering result is taken as a direction vector that is perpendicular to a local seam direction at the point.

34) Based on the normal vector {right arrow over (n)}_(S) of the local surface at the point p and the direction vector {right arrow over (τ)}_(k), a normal vector of a section Γ at the point p is determined using a right-hand rule:

{right arrow over (n)} _(c) ={right arrow over (n)} _(S)×{right arrow over (τ)}_(k)  (4).

35) The points of the seam area and the non-seam area which are within a certain range from the section Γ are projected on the section, and projected points Q^(S) of the seam area and projected points Q^(NS) of the non-seam area are extracted, respectively:

q′=p+{right arrow over (pq)}×{right arrow over (n)} _(c)  (5),

where q is a point to be projected, and q′ is a point where the q is projected onto the section Γ.

FIG. 5 is a sectional projection view in accordance with an embodiment of the present disclosure.

FIG. 6 is a calculation model of flush and gap in an embodiment. The calculation model of flush and gap is defined by two pairs of characteristic points p^(c), p^(b) distributed at both sides of the gap, and two pairs of straight lines L₁L₂, L_(A) ₁ L_(A) ₂ . Where p^(c) is a critical point of one side of the gap area; and p^(b) is a boundary point of one side of the gap area; L₁, L₂ are fitting straight lines of one side of a surface of a gap; L_(A) ₁ , L_(A) ₂ are auxiliary straight lines that pass through the boundary points at a same side and are perpendicular to the fitting straight line of the surface. The flush is defined as an average of two single-side flushes, where the single-side flush is defined as a distance from a critical point of one side to a fitting straight line of an opposite side of a surface of a gap. The gap is defined as an average of two single-side gaps, where the single-side gap is defined as a distance from a boundary point at a side to a straight line at an opposite side.

In one embodiment, in step (4), the calculation model (FIG. 6) of flush and gap is constructed, and the flush and gap of the aircraft skin at the point is calculated according to the projected point cloud and the model. The step (4) includes following steps.

41) The projected points Q^(S) of the seam area and the projected points Q^(NS) of the non-seam area are divided respectively through Euclidean clustering, so as to obtain projected points Q_(l) ^(S), Q_(o) ^(S), Q_(l) ^(NS), Q_(o) ^(NS) of both sides;

42) Based on the projected points Q_(l) ^(NS) (Q_(o) ^(NS)) of a side of the non-seam area, a straight line L_(l)(L_(o)) is fitted using a random sample consensus (RANSAC) straight line fitting algorithm. Based on the projected points Q_(l) ^(S)(Q_(o) ^(S)) of a side of in the seam area, a circle C_(l)(C_(o)) is fitted using a RANSAC circle fitting algorithm;

43) Intersections of the fitting straight line L_(l)(L_(o)) and inliers of the fitting circle C_(l)(C_(o)) at a same side is calculated.

If there are two intersections, the intersection closest to a point in the fitting circle is taken as a critical point p^(c)=argmin{d₁(c_(i)),d₂(c_(i))}, where d₁(i)=|c_(i)−I₁|, d₁(i)=|c_(i)−I₂|, c_(i)∈C_(l)(C_(o)).

If there is only an intersection I, the intersection is taken as the critical point p^(c)=I.

If there is no intersection, a point in the fitting circle that is closest to the fitting straight line is taken as the critical point p^(c)=argmax d_(L)(c_(i)), where d_(L)(c_(i))=|{right arrow over (p_(l/o)c_(i))}×{right arrow over (τ)}_(l/o)|, c_(i)∈C_(l)(C_(o)), p_(l/o) and p_(l/o) are defining parameters of the fitting straight line L_(l)(L_(o)) of one side.

A point in the fitting circle that is farthest from the critical point p^(c) is calculated and taken as a boundary point p^(b)=argmax d(c_(i)), where d(c_(i))=|c_(i)−p^(c)|, c_(i)∈C_(l)(C_(o)).

44) According to the boundary point p_(l) ^(b)(p_(o) ^(b)) and the fitting straight line L_(l)(L_(o)) at a same side, an auxiliary line L_(A) _(l) (L_(A) _(o) ) that is perpendicular to the fitting straight line L_(l)(L_(o)) at the same side is constructed. A direction vector of the auxiliary line is:

{right arrow over (τ)}_(A) _(l/o) ={right arrow over (n)} _(s)×{right arrow over (τ)}_(l/o)  (6),

where {right arrow over (n)}_(s) is a normal vector of the section and {right arrow over (τ)}_(l/o) is a direction vector of the fitting straight line L_(l)(L_(o)) at the same side.

45) A distance from a critical point p_(l) ^(c)(p_(o) ^(c)) at a side to a fitting straight line L_(o)(L_(l)) at an opposite side is calculated and taken as a flush. A distance from the boundary point p_(l) ^(b)(p_(o) ^(b)) at a side to an auxiliary line L_(A) _(o) (L_(A) _(l) ) at an opposite side is calculated and taken as a single-side gap width:

$\begin{matrix} {{{flush}_{A} = {{\overset{\rightarrow}{p_{l}^{l}p_{o}^{c}} \times {\overset{\rightarrow}{\tau}}_{l}}}};} & (7) \\ {{{flush}_{B} = {{\overset{\rightarrow}{p_{o}^{l}p_{l}^{c}} \times {\overset{\rightarrow}{\tau}}_{o}}}};} & (8) \\ {{{gap}_{A} = {{\overset{\rightarrow}{p_{l}^{b}p_{o}^{b}} \times {\overset{\rightarrow}{\tau}}_{A_{l}}}}};} & (9) \\ {{gap}_{B} = {{{\overset{\rightarrow}{p_{o}^{b}p_{l}^{b}} \times {\overset{\rightarrow}{\tau}}_{A_{o}}}}.}} & (10) \end{matrix}$

An average of the flushes at both sides is taken as the flush of the seam at the measuring point, and an average of the gap width at both sides is taken as the seam width at the measuring point:

$\begin{matrix} {{{flush} = \frac{{flush}_{A} + {flush}_{B}}{2}};} & (11) \\ {{gap} = {\frac{{gap}_{A} + {gap}_{B}}{2}.}} & (12) \end{matrix}$

An automatic measurement algorithm of flush and gap based on a large-scale point cloud in the present disclosure is not limited to the flush and gap measurement of aircraft skin, but includes the flush and gap measurement of automobiles and ships. It should be noted that the present disclosure is not limited to the precise structure described in the description and the accompanying drawings, and various modifications and changes can be made without departing from the spirit of the present disclosure.

The above-mentioned are preferred embodiments of the present disclosure, and not intended to limit the protection scope of the present disclosure. Technical solutions without departing from the spirit of the present disclosure should fall within the protection scope of the appended claims. For those skilled in the art, any improvements and modifications without departing from the spirit of the present disclosure should fall within the protection scope of the appended claims. 

What is claimed is:
 1. A method for measuring a seam on aircraft skin based on a large-scale point cloud, comprising 1) calculating a point cloud density of each point in an aircraft skin point cloud; 2) dividing seam and non-seam point clouds according to a discrepancy of according to the calculated point cloud density; 3) selecting a measuring point from the point cloud of the seam area; extracting a section at the point; projecting a certain range of the seam and non-seam point clouds to the section; acquiring a projected point cloud; and 4) constructing a calculation model of flush and gap; and calculating the flush and the gap of the aircraft skin seam at the measuring point according to the projected point cloud and the calculation model.
 2. The method of claim 1, wherein the step (1) comprises: 11) based on the aircraft skin point cloud P, constructing an Axis-Aligned Bounding Box (AABB) of the point cloud; estimating an average area of a point; and calculating a side length of a kernel; and 12) selecting any point p_(i) from the point cloud; constructing a bounding sphere O_(i) using the kernel as a radius; counting the number of points in the bounding sphere and taking the number of points in the bounding sphere as a density d_(i) around the point p_(i).
 3. The method of claim 2, wherein the step (11) comprises: calculating a volume of the AABB of the point cloud; calculating a side length of a cube corresponding to the volume of the AABB; calculating an area of a bottom surface according to the side length; and calculating an average area occupied by each point on the bottom surface according to the area of the bottom surface; constructing the kernel with k points; and calculating the side length of the kernel: $\begin{matrix} {{{kernel} = \sqrt{\frac{\left( \sqrt[3]{V} \right)^{2}}{N} \times k}},} & (1) \end{matrix}$ wherein V is a volume of the AABB of the aircraft skin point cloud P; N is the number of points in the aircraft skin point cloud P; and k is a constant representing the number of points constituting the kernel.
 4. The method of claim 1, wherein the step (2) comprises: 21) based on the calculated point cloud density, standardizing the point cloud density to [0,1]; and 22) taking 0 and 1 as two initial centers respectively, dividing a point cloud P^(S) of a seam area and a point cloud P^(NS) of a non-seam area based on the standardized point cloud density using a k-means clustering algorithm.
 5. The method of claim 4, wherein in step (21), based on the calculated point cloud density, the point cloud density is standardized to [0, 1]: $\begin{matrix} {{d_{i}^{\prime} = \frac{d_{i}}{d_{\max} - d_{\min}}},} & (2) \end{matrix}$ wherein d_(max) is a maximum density of a point in the point cloud P, and d_(min) is a minimum density of a point in the point cloud P.
 6. The method of claim 1, wherein the step (3) comprises: 31) selecting a point p from the point cloud P^(S) of the seam area; constructing a bounding sphere with the point p as a center and R as a radius; in the bounding sphere, taking a point cloud P_(R) ^(S) of the seam area and a point cloud P_(R) ^(NS) of the non-seam area in the bounding sphere together to constitute a R-neighborhood point cloud of the point p; dividing the point cloud P_(R) ^(S) in the R-neighborhood seam area and the point cloud P_(R) ^(NS) in the R-neighborhood non-seam area into two parts respectively by Euclidean clustering, so as to obtain P_(lR) ^(S), P_(oR) ^(S), P_(lR) ^(NS), P_(oR) ^(NS); 32) calculating normal vectors of each point in the point cloud P_(R) ^(NS) in the R-neighborhood non-seam area at the same side of the point p, so as to form a normal vector set {right arrow over (N)}; taking an average of the normal vectors in the point cloud of the R-neighborhood non-seam area at the side of the point as a normal vector of a local surface at the side of the point p: $\begin{matrix} {{{\overset{\rightarrow}{n}}_{S} = {\frac{1}{\overset{\rightarrow}{N}}\Sigma_{{\overset{\rightarrow}{n}}_{i} \in \overset{\rightarrow}{N}}{\overset{\rightarrow}{n}}_{i}}};} & (3) \end{matrix}$ 33) searching a point p_(j) in the point cloud P_(lR) ^(S) of the R-neighboring seam area at the same side of the point p that is closest to each point q_(j) in the point cloud P_(oR) ^(S) of the R-neighboring seam area at the opposite side of the point p; constructing a direction vector {right arrow over (τ)}_(j)=q_(q)−p_(j)({right arrow over (τ)}_(j)∈{right arrow over (T)}) according to each pair of the points; performing Gaussian clustering on all direction vectors {right arrow over (T)}; and taking an average $\overset{\rightarrow}{\tau} = {\frac{1}{\overset{\rightarrow}{C}}\Sigma_{{\overset{\rightarrow}{\tau}}_{k} \in \overset{\rightarrow}{C}}{\overset{\rightarrow}{\tau}}_{k}}$ of direction vectors in a largest cluster {right arrow over (C)} in a Gaussian clustering result as a direction vector that is perpendicular to a local seam direction at the point; 34) based on the normal vector {right arrow over (n)}_(S) of the local surface at the point p and the direction vector {right arrow over (τ)}_(k), determining a normal vector of a section Γ at the point p using a right-hand rule: {right arrow over (n)} _(c) ={right arrow over (n)} _(S)×{right arrow over (τ)}_(k)  (4); and 35) projecting the points of the seam area and the non-seam area which are within a certain range from the section Γ on the section, and extracting projected points Q^(S) of the seam area and projected points Q^(NS) of the non-seam area, respectively: q′=p+{right arrow over (pq)}×{right arrow over (n)} _(c)  (5), wherein q is a point to be projected, and q′ is a point where the q is projected onto the section Γ.
 7. The method of claim 1, wherein the step (4) comprises: 41) dividing the projected points Q^(S) of the seam area and the projected points Q^(NS) of the non-seam area respectively through Euclidean clustering, so as to obtain projected points Q_(l) ^(S), Q_(o) ^(S), Q_(l) ^(NS), Q_(o) ^(NS) of both sides; 42) based on the projected points Q_(l) ^(NS) (Q_(o) ^(NS)) of a side of the non-seam area, fitting a straight line L_(l)(L_(o)) using a random sample consensus (RANSAC) straight line fitting algorithm; and based on the projected points Q_(l) ^(S)(Q_(o) ^(S)) of a side of in the seam area, fitting a circle C_(l)(C_(o)) using a RANSAC circle fitting algorithm; 43) calculating intersections of the fitting straight line L_(l)(L_(o)) and inliers of the fitting circle C_(l)(C_(o)); and taking a point in the fitting circle that is farthest from the critical point p^(c) as a boundary point p^(b)=argmax d(c_(i)), wherein d(c_(i))=|c_(i)−p^(c)|, c_(i)∈C_(l)(C_(o)); 44) according to the boundary point p_(l) ^(b)(p_(o) ^(b)) and the fitting straight line L_(l)(L_(o)) at a same side, constructing an auxiliary line L_(A) _(l) (L_(A) _(o) ) that is perpendicular to the fitting straight line L_(l)(L_(o)) at the same side; wherein a direction vector of the auxiliary line is: {right arrow over (τ)}_(A) _(l/o) ={right arrow over (n)} _(s)×{right arrow over (τ)}_(l/o)  (6), wherein {right arrow over (n)}_(s) is a normal vector of the section and {right arrow over (τ)}_(l/o) is a direction vector of the fitting straight line L_(l)(L_(o)) at the same side; and 45) taking a distance from a critical point p_(l) ^(c)(p_(o) ^(c)) at a side to a fitting straight line L_(o)(L_(l)) at an opposite side as a flush; taking a distance from the boundary point p_(l) ^(b)(p_(o) ^(b)) at a side to an auxiliary line L_(A) _(o) (L_(A) _(l) ) at an opposite side as a single-side gap width: $\begin{matrix} {{{flush}_{A} = {{\overset{\rightarrow}{p_{l}^{l}p_{o}^{c}} \times {\overset{\rightarrow}{\tau}}_{l}}}};} & (7) \\ {{{flush}_{B} = {{\overset{\rightarrow}{p_{o}^{l}p_{l}^{c}} \times {\overset{\rightarrow}{\tau}}_{o}}}};} & (8) \\ {{{gap}_{A} = {{\overset{\rightarrow}{p_{l}^{b}p_{o}^{b}} \times {\overset{\rightarrow}{\tau}}_{A_{l}}}}};} & (9) \\ {{{gap}_{B} = {{\overset{\rightarrow}{p_{o}^{b}p_{l}^{b}} \times {\overset{\rightarrow}{\tau}}_{A_{o}}}}};} & (10) \end{matrix}$ taking an average of the flushes at both sides as the flush of the seam at the measuring point; and taking an average of the gap width at both sides as the seam width at the measuring point: $\begin{matrix} {{{flush} = \frac{{flush}_{A} + {flush}_{B}}{2}};} & (11) \\ {{gap} = {\frac{{gap}_{A} + {gap}_{B}}{2}.}} & (12) \end{matrix}$
 8. The method of claim 7, wherein the calculating intersections of the fitting straight line L_(l)(L_(o)) and the fitting circle C_(l)(C_(o)) as a critical point in step (4) comprises: if there are two intersections I₁, I₂, taking the intersection closest to a point in the fitting circle as the critical point p^(c)=argmin{d₁(c_(i)),d₂(c_(i))}, wherein d₁(i)=|c_(i)−I₁|, d₁(i)=|c_(i)−I₂|, c_(i)∈C_(l)(C_(o)); if there is only an intersection I, taking the intersection as the critical point p^(c)=I; and if there is no intersection, taking a point in the fitting circle that is closest to the fitting straight line as the critical point: p^(c)=argmax d_(L)(c_(i)), wherein d_(L)(c_(i))=|{right arrow over (p_(l/o)c_(i))}×{right arrow over (τ)}_(l/o)|, c_(i)∈C_(l)(C_(o)); p_(l/o) and p_(l/o) are defining parameters of the fitting straight line L_(l)(L_(o)) of one side. 